home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 November
/
MACPOWER-1997-11.ISO.7z
/
MACPOWER-1997-11.ISO
/
AMUG
/
MUSIC
/
bol-processor-271-data.sit
/
bol-processor-271-data
/
BP2 examples
/
BP2 data
/
-gr.koto2
< prev
next >
Wrap
Text File
|
1996-06-26
|
646b
|
30 lines
// Bol Processor version BP2.6.1
// Grammar file saved as '-gr.koto2'. Date: Mer 26 Juin 1996 -- 11:46
-se.koto1
-ho.abc1
// -gr.koto2
// A sort of cellular automaton making a sort of Turkish music...
RND
S --> X X X X X X X X /K1/
/K2/ X --> a /K1/
/K1/ X --> b /K2/
-------------------
SUB
#? ?1 --> #? ?1 [Keep leftmost symbol]
?1 #? --> ?1 #? [Keep rightmost symbol]
<5> a --> a
<30> a b a --> a a
<5> b --> b
<30> b a b --> b b
<100-10> #a b --> #a c b
c c c --> c a c
c a c --> b a b
?1 ?1 ?2 ?3 ?4 ?4 --> ?2 ?3
<10> ?1 ?1 ?1 --> ?1
<10> ?1 ?1 --> ?1
--------------------
ORD
<1-1> ? #? --> d #? [Append "d" at the end of the item]